package com.liyuan.yiqixing.service;

import com.liyuan.yiqixing.model.Discussion;

public interface DiscussionService {
    Discussion[] retrieveDiscussions(Integer currentPage, Integer scale, String classification);

    int sum(String classification);

    Discussion retrieveDiscussion(Integer id);

    void saveDiscussion(Discussion discussion);

    int selectLastInsertId();
}
